@import '../assets/scss/variables';
body {
    font-size: 12px !important;
    color: #4c4c4c !important;
    -moz-osx-font-smoothing: grayscale;
}
.el-select-dropdown__item span {
    font-size: 12px !important;
}
.xFedit-nav {
    display: flex;
    align-items: center;
    background-color: #7a7a7a;
    justify-content: space-between;
    padding: 0px 20px;
    height: 50px;
    position: relative;
    box-sizing: border-box;
    .el-input--mini .el-input__inner {
        border-radius: 0px !important;
        height: 28px !important;
        border: 1px solid #666;
    }
    .site-navbar__body {
        background-color: none !important;
    }
    .page-tmp-tip {
        background: #19be6b !important;
        z-index: 999;
        transition: all 0.2s linear !important;
    }
    .nav-title {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 500px;
        height: 50px;
        & > div {
            display: flex;
            align-items: center;
            width: 100%;
            .title-item {
                color: white;
                font-size: 12px;
                font-weight: normal;
                margin-right: 5px;
            }
            .title-info {
                margin-right: 15px;
            }
        }
    }
    .nav-bar {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        z-index: 3;
        padding: 0px;
        color: $white;
        .bar-buttong {
            height: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            position: absolute;
            left: calc(50% - 150px);
        }
        .bar-preview {
            height: 70%;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            button {
                padding: 10px 15px 8px;
                font-size: 12px;
                transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
                line-height: 1;
                border-radius: 0px;
                &.el-button--info {
                    color: #fff;
                    border-color: #a2aab5;
                    background-color: #a2aab5;
                }
                &.el-button--primary {
                    color: #fff;
                    border-color: #19be6b;
                    background-color: #19be6b;
                    &:hover {
                        background-color: #19d26b;
                    }
                }
            }
        }
        .buttong-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 100%;
            cursor: pointer;
            text-align: center;
            vertical-align: bottom;
            font-size: 12px;
            user-select: none;
            transition: all 0.1s linear;
            &.scale-wrappper {
                width: 110px;
                margin-right: 10px;
                &:hover {
                    color: inherit;
                    transform: none;
                }
                & > .scale-btn {
                    display: flex;
                    flex-direction: row;
                    vertical-align: middle;
                    padding: 6px 2px;
                    font-size: 20px;
                    &:hover {
                        color: #2d8cf0;
                    }
                }
            }
            &:hover {
                color: #2d8cf0;
                background: $white;
                font-weight: bold;
            }
            &.disabled {
                cursor: not-allowed;
                opacity: 0.3;
            }
            & > i {
                font-size: 18px;
                margin-bottom: 3px;
            }
            & > span {
                font-size: 12px;
            }
        }
    }
}
.page-editor-main {
    background: #d8d8d8 !important;
    .editor-panel {
        background: none !important;
    }
}
.editor-main {
}
.editor-wrapper .page-editor-side-bar .left .scene-footer {
    background: #2d8cf0 !important;
}
.page-editor-side-bar {
    .order {
        background-color: #19be6b !important;
    }
    .scene-wrap__content {
        margin-bottom: 35px !important;
        .item {
            background: white;
        }
    }
    .item.left {
        background-color: #f4f4f4;
    }
    .widget-list-wrap{
        .item{
            i{
                transition: all .1s linear;
            }
            &:hover{
                i{
                    color: #2d8cf0!important;
                }
            }
        }
    }
}
.editor-wrapper .page-editor-side-bar .left .scene-footer {
    .icon-add {
        cursor: pointer;
    }
    .icon-add,
    .el-icon-s-management {
        transition: all 0.2s linear;
    }
    .icon-add:hover,
    .el-icon-s-management:hover {
        background-color: #287ed8;
        cursor: pointer;
    }
}
.el-attr-edit-wrapper {
    .el-tabs__content {
        padding: 0px 0 15px 0px !important;
        height: 100%;
    }
    .pannel-item {
        padding-right: 15px !important;
        .add-assets-wrap {
            width: 232px !important;
            height: 116px !important;
            margin: 15px 0px 0px 0px !important;
            border: 0px !important;
            .btn-add-inner {
                width: 100% !important;
                height: 100% !important;
                box-shadow: 0px;
            }
            &:hover {
                box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2) !important;
            }
        }
        .props-wrap,
        .setting-pannel-wrap {
            padding-left: 15px;
            padding-right: 15px;
        }
        .file-list {
            display: flex;
            flex-direction: column;
            padding-top: 20px !important;
            margin-bottom: 0px;
            margin-top: 0px;
            .item-wrap {
                width: 100%;
            }
            .item {
                width: 232px;
                height: 232px !important;
                line-height: 100% !important;
                box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
                margin-top: 0px !important;
            }
            .el-form-item__label {
                line-height: 100% !important;
            }
            .el-form-item {
                margin-top: 15px;
                display: flex;
                flex-direction: column;
                &:first-child {
                    margin-top: 0px;
                }
                .el-input-number {
                    width: 90px;
                }
            }
            .item-wrap {
                height: unset !important;
            }
        }
        .xFvideoProps {
            .file-list {
                .item {
                    width: 232px !important;
                    height: 135px !important;
                }
            }
        }
        .xFimageAttr {
            .file-list {
                .item {
                    margin-right: 15px;
                    width: 128px !important;
                    height: 128px !important;
                }
            }
            .add-assets-wrap {
                width: 128px !important;
                height: 128px !important;
            }
        }
        .xFbackgroundProps {
            .add-assets-wrap {
                margin-top: 0px !important;
            }
        }
        .xFwordProps {
            .file-list {
                .item {
                    background-size: unset;
                }
            }
        }
        .xFcityProps {
            .el-form-item {
                margin-bottom: 15px !important;
                &:first-child {
                    margin-top: 15px;
                    margin-bottom: 10px !important;
                }
                .el-form-item__label {
                    line-height: 100% !important;
                }
            }
            .el-form-item__content {
                line-height: 28px !important;
            }
            .el-select{
                width: 100%!important;
            }
        }
        .xFtimezoneProps,.xFstyleProps,.xFurlProps,.xFliveProps{
            display: flex;
            flex-direction: column;
            margin-bottom: 15px !important;
            &:first-child {
                margin-top: 15px;
                margin-bottom: 25px !important;
            }
            .el-form-item__content {
                line-height: 28px !important;
            }
            .el-form-item__label {
                line-height: 100% !important;
                margin-bottom: 10px;
            }
            .el-select{
                width: 100%!important;
            }
        }
        .xFliveProps{
            .el-form-item__label {
                line-height: 100% !important;
                margin-bottom: 0px;
            }
            .el-form-item__content{
                .list{
                    padding-top: 10px;
                }
            }
        }
        .xFcityRefresh,.xFtimezoneProps,.xFstyleProps {
            .el-form-item__label {
                line-height: 100% !important;
            }
        }
        .setting-pannel-wrap {
            .vc-compact,
            .vc-sketch {
                width: 100% !important;
                padding: 0px;
            }
            .el-attr-edit-wrapper .pannel-item .setting-pannel-wrap .vc-compact,
            .el-attr-edit-wrapper .pannel-item .setting-pannel-wrap .vc-sketch {
                background-color: none !important;
                box-shadow: 0px !important;
            }
            .vc-compact-color-item {
                margin-right: 1px !important;
                margin-bottom: 1px !important;
            }
        }
        span.label {
            margin: 15px 0px 10px 0px;
        }
        .setting-item {
            margin-bottom: 0px !important;
        }
        .setting-props {
            padding: 0px !important;
            background: none;
        }
        .attr-item-edit-wrapper {
            padding-left: 0px !important;
            margin-bottom: 0px !important;
        }
        .el-form-item__label {
            line-height: 28px !important;
            font-size: 12px;
            text-align: left !important;
        }
        .attr-item-edit-wrapper.row {
            width: 100%;
            padding-top: 15px !important;
            & > div {
                width: 100% !important;
                line-height: 20px !important;
            }
            .el-form-item {
                width: 100%;
                display: flex;
                padding-top: 15px;
                &:first-child {
                    padding-top: 0px;
                }
                .el-select {
                    width: 120px;
                }
            }
            .el-form-item__content {
                line-height: 24px !important;
            }
        }
        .el-input__inner, .el-textarea__inner {
            border: 1px solid #b9b9b9;
            border-radius: 0px;
        }
    }
    .el-tabs__header {
        .el-tabs__item {
            background: #d8d8d8 !important;
            border: 0px !important;
            font-size: 12px;
            font-weight: normal;
            color: #4c4c4c !important;
            &:hover {
                color: #2c2c2c !important;
            }
        }
        .el-tabs__item.is-active {
            background: #2d8cf0 !important;
            color: rgba(255, 255, 255, 0.9) !important;
            &:hover {
                color: rgba(255, 255, 255, 1) !important;
            }
        }
    }
    .el-tabs--border-card {
        border: 0px !important;
        border-left: 1px solid #b9b9b9 !important;
    }
}
.el-scrollbar__view.el-select-dropdown__list {
    background-color: #f8f8f9;
    border-radius: 0px !important;
    padding: 0px 0px !important;
    .el-select-dropdown__item {
        &:hover {
            background-color: #f3f3f3;
        }
    }
}
.xFuploadBox{
    .header{
        margin-bottom: 15px!important;
    }
    .el-dialog__header{
        padding: 15px 20px!important;
        border-bottom: 1px solid #e8eaec;
    }
    .el-dialog__body{
        padding-top: 20px!important;
    }
    .el-dialog{
        height: auto!important;
        overflow: unset!important;
    }
    .el-dialog__title{
        font-size: 14px;
        color: #515a6e;
        font-weight: 500;
    }
    .file-manager-warp{
        padding: 0px 0px 0px 0px!important;
    }
    .el-button,.el-input__inner,.el-input-group__append{
        border-radius: 0px;
    }
    .el-input__inner{
        height: 32px;
        line-height: 32px;
    }
    .footer{
        margin-bottom: 0px!important;
    }
    .files-table-wrap{
        height: auto!important;
        .footer{
            height: 200px!important;
            .el-scrollbar{
                height: 100%;
                min-height: 160px;
            }
            .el-scrollbar__wrap{
                overflow-x: hidden;
            }
        }
        .content{
            min-height: 160px;
        }
        .pager{
            border-top: 1px solid #dcdee2;
            margin: 0px!important;
            overflow-x: hidden!important;
            padding: 15px;
            background: #f8f8f9;
            .el-input__inner{
                font-size: 12px;
                height: 26px;
                line-height: 26px;
            }
            li,button{
                background-color: white;
                border: 1px solid #dcdee2;
                border-radius: 0px;
                font-size: 12px;
                font-weight: normal;
                &:hover{
                    background-color: #2d8cf0;
                    color: white!important;
                    border-color: #2d8cf0;
                }
            }
            li:not(.disabled).active {
                border-color: #2d8cf0;
                background-color: #2d8cf0;
                color: white;
            }
            .el-pagination{
                padding: 0px!important;
            }
            .xzqbText{
                color: #1a57bd;
                font-size: 12px;
                margin: 0px!important;
                &:hover{
                    text-decoration: underline;
                }
            }
            .el-pagination{
                margin: 0px!important;
            }
        }
    }
    .el-button{
        padding: 10px 20px 7px 20px;
    }
    .el-button--primary{
        background-color: #2d8cf0;
        border-color: #2d8cf0;
        &:hover{
            background-color: #287ed8;
            border-color: #287ed8;
        }
    }
    .el-button--primary,.el-button--default{
        font-size: 12px;
    }

}
